<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Pucesi Reclamos</title>
        <link href="<?php echo Yii::app()->theme->baseUrl; ?>/css/libs/font-awesome.css" type="text/css" rel="stylesheet"/>
        <link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/libs/nanoscroller.css" type="text/css"/>
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/compiled/layout.css">
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/compiled/elements.css">
        <script>
            var baseUrl = "<?php print Yii::app()->baseUrl . '/'; ?>";
            var themeUrl = "<?php print Yii::app()->theme->baseUrl . '/'; ?>";
        </script>
    </head>
    <body>
        <header class="navbar" id="header-navbar">
            <div class="container">
                <a id="logo" class="navbar-brand">
                    <img src="<?php echo Yii::app()->theme->baseUrl; ?>/img/login/logo5.png" alt="" class="normal-logo" style="width: 50px"/>
                    Sistema de Reclamos
                </a>
                <div class="clearfix">
                    <button class="navbar-toggle" data-target=".navbar-ex1-collapse" data-toggle="collapse" type="button">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="fa fa-bars"></span>
                    </button>
                    <div class="nav-no-collapse navbar-left pull-left hidden-sm hidden-xs">
                        <ul class="nav navbar-nav pull-left">
                            <li>
                                <a class="btn" id="make-small-nav">
                                    <i class="fa fa-bars"></i>
                                </a>
                            </li>
                        </ul>
                    </div>
                    <div class="nav-no-collapse pull-right" id="header-nav">
                        <ul class="nav navbar-nav pull-right">
                            <li class="dropdown profile-dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                    <!--<img src="img/samples/scarlet-159.png" alt=""/>-->
                                    <span class="hidden-xs"><?php echo Yii::app()->user->name; ?> <b class="caret"></b>
                                </a>
                                <ul class="dropdown-menu">
                                    <li><?php echo CHtml::link('<i class="fa fa-power-off"></i>Logout', Yii::app()->user->ui->logoutUrl) ?></a></li>
                                </ul>
                            </li>
                            <li class="hidden-xxs">
                                <?php echo CHtml::link('<i class="fa fa-power-off"></i>', Yii::app()->user->ui->logoutUrl) ?>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </header>
        <div id="page-wrapper" class="container">
            <div class="row">
                <div id="nav-col">
                    <section id="col-left" class="col-left-nano">
                        <div id="col-left-inner" class="col-left-nano-content ">
                            <div class="collapse navbar-collapse navbar-ex1-collapse sidebar-scroll" id="sidebar-nav">
                                <?php
                                $this->widget('zii.widgets.CMenu', array(
                                    'items' => $this->admin ? Menu::getAdminMenu($this) : Menu::getMenu($this),
                                    'encodeLabel' => false,
                                    'itemCssClass' => 'submenu',
                                    'activeCssClass' => 'active',
                                    'htmlOptions' => array('class' => 'nav nav-pills nav-stacked'),
                                    'submenuHtmlOptions' => array('class' => 'submenu')
                                ));
                                ?>
                            </div>
                        </div>
                    </section>
                </div>
                <div id="content-wrapper">
                    <div class="row">
                        <div class="col-lg-12">
                            <?php echo $content; ?>
                        </div>
                    </div>
                    <div class="row">
                        <?php
                        $this->beginWidget(
                                'booster.widgets.TbModal', array('id' => 'mainModal')
                        );
                        $this->endWidget();
                        ?>
                    </div>

                </div>
            </div>
        </div>

        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/demo-skin-changer.js"></script>  
        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery.nanoscroller.min.js"></script>
        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/demo.js"></script>  
        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery-ui.custom.min.js"></script>
        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery.slimscroll.min.js"></script>
        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery.nicescroll.js"></script>
        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery.validateAjax.js"></script>

        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/scripts.js"></script>
    </body>
</html>